package edu.zut.cs.software.example.student.domain;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.cs.software.example.domain.BaseEntity;

/*
 * @author 陈明阳
 * 
 * Student has attribute: name、id 、phone、gender
 *
 */
@Table(name="T_Student")
@Entity
public class Student extends BaseEntity<Long>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3791620563007728106L;
	@Column
	String number;
	@Column
	String name;
	@Column
	String phone;
	@Column
	String gender;
	
	

	

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	

	
	


}
